package com.ajpai.qchat.core;

import java.io.Serializable;

/**
 * 聊天会话
 * 已读、未读
 */
public class ChatSession  implements Serializable {
    /**
     * 聊天会话标题
     */
    public String title;
    /**
     * 聊天会话头像
     */
    public String avatar;
    /**
     * 消息最后发送人标识
     */
    public String lastSendUserId;
    /**
     * 消息最后发送人名称
     */
    public String lastSendUserName;

    /**
     * 会话类型 0通讯录 1群组
     */
    public String chatType;
    /**
     * 最后一条消息类型
     */
    public String lastMsgType;
    /**
     * 最后一条消息内容
     */
    public String lastMsgContent;


    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getLastSendUserId() {
        return lastSendUserId;
    }

    public void setLastSendUserId(String lastSendUserId) {
        this.lastSendUserId = lastSendUserId;
    }

    public String getLastSendUserName() {
        return lastSendUserName;
    }

    public void setLastSendUserName(String lastSendUserName) {
        this.lastSendUserName = lastSendUserName;
    }

    public String getChatType() {
        return chatType;
    }

    public void setChatType(String chatType) {
        this.chatType = chatType;
    }

    public String getLastMsgType() {
        return lastMsgType;
    }

    public void setLastMsgType(String lastMsgType) {
        this.lastMsgType = lastMsgType;
    }

    public String getLastMsgContent() {
        return lastMsgContent;
    }

    public void setLastMsgContent(String lastMsgContent) {
        this.lastMsgContent = lastMsgContent;
    }
}
